#-*-coding:utf-8 -*-
from sklearn import svm

x = [[2,0] , [1,1] , [4,5], [2,3] ]
y = [0, 0, 1, 1]

clf = svm.SVC( kernel='linear' ) ;
clf.fit(x,y)

print clf

print clf.support_vectors_

print clf.support_

print clf.predict([[4,5]])

